<template>
  <div class="show">
    <span>{{message}}</span>
    <span>{{name}}</span>
  </div>
</template>

<script>
  export default {
    name: "children",
    data() {
      return {
        message: "我是子组件",
        name: "子组件在此"
      }
    }
  }
</script>

<style scoped>
.show{
  color: rebeccapurple;
}
</style>